import request from "../../utils/request.js";

export function getClothesTypeList(data) {
  return request({
    url: "/api/clothes/type/list",
    method: "get",
    data,
  });
}

export function addClothesTypeList(data) {
  return request({
    url: "/api/clothes/type/add",
    method: "post",
    data,
  });
}

export function updateClothesTypeList(data) {
  return request({
    url: "/api/clothes/type/update",
    method: "put",
    data,
  });
}

export function deleteClothesTypeList(data) {
  return request({
    url: "/api/clothes/type/delete",
    method: "delete",
    data,
  });
}
